﻿using IrisMembership.DataLayer;
using IrisMembership.Web.Authentication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace IrisMembership.Web.Controllers
{
    public static class IrisController
    {
        public static IrisPrincipal GetUser(this Controller controller)
        {
            return controller.User as IrisPrincipal;
        }

    }
}